<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>SHOYO</title>
	<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
   	<link href="https://cdn.bootcss.com/bootstrap/3.2.0/css/bootstrap.css" rel="stylesheet">
	<link href="https://cdn.bootcss.com/bootstrap/3.2.0/css/bootstrap-theme.min.css" rel="stylesheet">
	<style>
		body{
			margin:0;
		}
		.video{
			position:absolute;
			width:100%;
			height:100%;
			display: flex;
		    flex-flow: column nowrap;
		    justify-content: space-between;
		}
		.shipin{
			width:100%;
			height:100%;
			margin:0;
			padding:0;
		}
		.bigimg{
			width:100%;
		}
		.abss{
			background:url(../static/images/2.jpg);
		}
		.cbs{
			background:url(../static/images/3.jpg);
		}
	</style>
</head>
<body>
	<div class="video">
		<img class="bigimg" src="../static/images/1.jpg" alt="">
		<audio id="yinyue" src="../static/video/yedegangqingqufive.mp3" autoplay></audio>
		<!-- <video class="shipin" src="../static/video/3.mp4" autoplay></video> -->
		<!-- <audio src="../static/video/1.mp3" autoplay></audio> -->
	</div>
	<script src="https://cdn.bootcss.com/jquery/2.2.2/jquery.min.js"></script>
	<script src="https://cdn.bootcss.com/bootstrap/3.2.0/js/bootstrap.js"></script>
	<script>
		document.querySelector("#yinyue").play();
		clearInterval(changeImg);
		var imgN = 1;
		var changeImg = setInterval(function(){
			imgN++;
			if(imgN==3){
				clearInterval(changeImg);
			};
			$('.bigimg').fadeOut(300);
			$('.bigimg').attr("src","../static/images/"+imgN+".jpg");
			$('.bigimg').fadeIn(600)
		},3000)
	</script>
</body>
</html>